﻿using System;
using System.ComponentModel.DataAnnotations;

namespace KM.ENT
{
    public class entUsers
    {
        /// <summary>
        /// Initializes a new instance of the entUsers class
        /// </summary>
        public entUsers()
        {

        }

        /// <summary>
        /// Gets or sets Id field
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets UserName field
        /// </summary>
        /// 
            [Required(ErrorMessage = "User name không được để trống")]
        public string UserName { get; set; }

        /// <summary>
        /// Gets or sets Pass field
        /// </summary>
        /// 
            [Required(ErrorMessage = "Mật khẩu không được để trống")]
        public string Pass { get; set; }

        /// <summary>
        /// Gets or sets TrangThai field
        /// </summary>
        public Byte TrangThai { get; set; }

      


    }
}